package org.vison.wonfu.framework.soa;


@FunctionalInterface
public interface ThrowableSupplier<T> {

    T get() throws Throwable;

    default T getIgnoreThrowable() {
        try {
            return get();
        } catch (Throwable ignore) {
        }
        return null;
    }
}